<?php
session_start();
require_once '../Lib/main.php';
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="css/admin.css">
<script type="text/javascript" src="js/jquery-1.10.2.js"></script>
<link rel="stylesheet" type="text/css" href="js/extjs4.2.1/resources/css/ext-all.css">
<script type="text/javascript" src="js/extjs4.2.1/ext-all.js"></script>
<script type="text/javascript" src="js/custom.js"></script>
<title>Đăng nhập</title>
</head>
<body>
<div class="loginContainer">
<h1>Đăng nhập</h1>
<form action="process/processlogin.php">
	<table border="0" style="width: 600px;" >
		<tr>
			<td>Username:</td>
			<td><input type="text" value="" name="username"></td>
		</tr>
		<tr>
			<td>Password:</td>
			<td><input type="password" value="" name="password"></td>
		</tr>
		<tr>
			<td colspan="2" align="center" >
				<input type="submit" value="Đăng nhập">
			</td>
		</tr>
	</table>
	<br />
	<span style="color: red;">
	<?php
		echo Controller_LoginController::getLoginError();
		Controller_LoginController::unsetLoginError();
	?>
	</span>
</form>
</div>
</body>
</html>